package cn.sanshuilin.kst.system.provider.write.dao;

import cn.sanshuilin.kst.system.provider.bean.Member;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 *
 */
public interface MemberDao extends JpaRepository<Member,String> {
    Member findById(String id);
    Member findByUsername(String username);
    Member findByMobile(String mobile);
    Member findByMobileAndPassword(String mobile,String password);
    @Override
    Page<Member> findAll(Pageable pageable);
}
